export const getMenu = [
  {
    name: '异常页',
    icon: 'warning',
    path: 'exception',
    children: [
      {
        name: '403',
        path: '403',
        hideInBreadcrumb: true,
        hideInMenu: true,
      },
      {
        name: '404',
        path: '404',
        hideInBreadcrumb: true,
        hideInMenu: true,
      },
      {
        name: '500',
        path: '500',
        hideInBreadcrumb: true,
        hideInMenu: true,
      },
      {
        name: '触发异常',
        path: 'trigger',
        hideInMenu: true,
      },
    ],
  },
  {
    name: '账户',
    icon: 'user',
    path: 'user',
    authority: 'guest',
    children: [
      {
        name: '登录',
        path: 'login',
      },
      {
        name: '注册',
        path: 'register',
      },
      {
        name: '注册结果',
        path: 'register-result',
      },
    ],
  },
  {
    name: '自定义模块',
    icon: 'form',
    path: 'new',
    children: [
      {
        name: '新功能',
        path: 'newpage',
      },
    ],
  },
  {
    name: '系统模块',
    icon: '',
    path: 'sys',
    children: [
      {
        name: '模块选择',
        path: 'module',
        hideInMenu: true,
        hideInBreadcrumb: true,
      },
    ],
  },
];
